<#noparse><#include "../../common/commonattribute.html"/></#noparse>
<script>
<#noparse>$(document).on('bjui.beforeCloseDialog', function(e) {</#noparse>
        $(".search-${(packageInfo.className)?lower_case}").click();
    })
</script>
<div class="bjui-pageContent">

    <form action="<#noparse>${ctx}</#noparse>/${packageInfo.modelName}/${(packageInfo.className)?lower_case}/save" id="familyMemberDialog" data-no-check="true" name="familyForm"
          data-toggle="validate" data-alertmsg="false" data-isrefsh="false" data-callback="fmDialogClose"
          data-rule="required">
        <div style="margin:25px auto 0; width:500px;">

            <input type="hidden" name="id" value="<#noparse>${entity.id!}</#noparse>"/>
            <table width="100%"  class="table table-condensed table-hover">
                <#list packageInfo.table.columns as entity>
                    <#if ((entity.name)?lower_case)!="id">
                <tr>
                    <td class="right"><span style="color:red">*</span>${entity.description!}</td>
                    <td class="left"><input type="text" name="${entity.name!}" data-rule="required" value="<#noparse>${entity.</#noparse>${entity.name!}!}"></td>
                </tr></#if>
                </#list>



            </table>

        </div>
    </form>

</div>
<div class="bjui-pageFooter">
    <ul>
        <li><button type="button" class="btn-close">关闭</button></li>
        <li><button type="submit" class="btn-default">保存</button></li>
    </ul>
</div>